<?php

use Biz\service\Tiles;
/**
 * @deprecated
 */
class WalletAction extends ActionPlugin
{
    const USER_LEVEL = self::LEVEL_REALNAME;

    public function main()
    {
        $page = $this->getRequest()->getQuery('page', 1);
        $data = Tiles::getWalletHistory($this->uid, $page);
        $this->setSuccess($data);
    }
}